Speech Generation Params
data class SpeechGenerationParams(val text: String, val voice: String? = null, val instructions: String? = null, val speed: Float? = null, val responseFormat: String? = null, val language: String? = null, val providerOptions: Map<String, JsonElement> = emptyMap(), val headers: Map<String, String> = emptyMap(), val abortSignal: AbortSignal = AbortSignalNever)
Constructors
Link copied to clipboard
constructor(text: String, voice: String? = null, instructions: String? = null, speed: Float? = null, responseFormat: String? = null, language: String? = null, providerOptions: Map<String, JsonElement> = emptyMap(), headers: Map<String, String> = emptyMap(), abortSignal: AbortSignal = AbortSignalNever)